import service from '@/utils/request'
// @Tags VideoDataAudio
// @Summary 创建videoDataAudio表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.VideoDataAudio true "创建videoDataAudio表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /videoDataAudio/createVideoDataAudio [post]
export const createVideoDataAudio = (data) => {
  return service({
    url: '/videoDataAudio/createVideoDataAudio',
    method: 'post',
    data
  })
}

// @Tags VideoDataAudio
// @Summary 删除videoDataAudio表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.VideoDataAudio true "删除videoDataAudio表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /videoDataAudio/deleteVideoDataAudio [delete]
export const deleteVideoDataAudio = (params) => {
  return service({
    url: '/videoDataAudio/deleteVideoDataAudio',
    method: 'delete',
    params
  })
}

// @Tags VideoDataAudio
// @Summary 批量删除videoDataAudio表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除videoDataAudio表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /videoDataAudio/deleteVideoDataAudio [delete]
export const deleteVideoDataAudioByIds = (params) => {
  return service({
    url: '/videoDataAudio/deleteVideoDataAudioByIds',
    method: 'delete',
    params
  })
}

// @Tags VideoDataAudio
// @Summary 更新videoDataAudio表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.VideoDataAudio true "更新videoDataAudio表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /videoDataAudio/updateVideoDataAudio [put]
export const updateVideoDataAudio = (data) => {
  return service({
    url: '/videoDataAudio/updateVideoDataAudio',
    method: 'put',
    data
  })
}

// @Tags VideoDataAudio
// @Summary 用id查询videoDataAudio表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data query model.VideoDataAudio true "用id查询videoDataAudio表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /videoDataAudio/findVideoDataAudio [get]
export const findVideoDataAudio = (params) => {
  return service({
    url: '/videoDataAudio/findVideoDataAudio',
    method: 'get',
    params
  })
}

// @Tags VideoDataAudio
// @Summary 分页获取videoDataAudio表列表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取videoDataAudio表列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /videoDataAudio/getVideoDataAudioList [get]
export const getVideoDataAudioList = (params) => {
  return service({
    url: '/videoDataAudio/getVideoDataAudioList',
    method: 'get',
    params
  })
}

// @Tags VideoDataAudio
// @Summary 不需要鉴权的videoDataAudio表接口
// @Accept application/json
// @Produce application/json
// @Param data query exampleReq.VideoDataAudioSearch true "分页获取videoDataAudio表列表"
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
// @Router /videoDataAudio/getVideoDataAudioPublic [get]
export const getVideoDataAudioPublic = () => {
  return service({
    url: '/videoDataAudio/getVideoDataAudioPublic',
    method: 'get',
  })
}
